From: Keir Fraser Date: Tue, 4 May 2010 11:42:56 +0000 (+0100) Subject: linux pvdrv: generalize location of autoconf.h X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12269 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2faa4bfdeadbe529008c26d39fa0c4dfa83a7cbe;p=xen.git linux pvdrv: generalize location of autoconf.h The location of the file in the build tree changed in recent Linux; since there can be only one such file, using a wild card instead of an explicit directory name seems the easiest solution. Signed-off-by: Jan Beulich --- diff --git a/unmodified_drivers/linux-2.6/overrides.mk b/unmodified_drivers/linux-2.6/overrides.mk index f30426eb19..803eccd3be 100644 --- a/unmodified_drivers/linux-2.6/overrides.mk +++ b/unmodified_drivers/linux-2.6/overrides.mk @@ -11,7 +11,7 @@ ifeq ($(ARCH),ia64) _XEN_CPPFLAGS += -DCONFIG_VMX_GUEST endif -_XEN_CPPFLAGS += -include $(objtree)/include/linux/autoconf.h +_XEN_CPPFLAGS += -include $(wildcard $(objtree)/include/*/autoconf.h) EXTRA_CFLAGS += $(_XEN_CPPFLAGS) EXTRA_AFLAGS += $(_XEN_CPPFLAGS)